Skip to content

Prepare for public release (#334) - #341

Merged
lucbocahut merged 5 commits into
mainfrom
public-release-prep
Nov 13, 2026
Merged

lucbocahut merged 5 commits into
mainfrom
public-release-prep

Conversation

@lucbocahut

Copy link
Copy Markdown
Contributor

Part of #334. This covers items 1–5 of "Before going public". The "After going public" items are tracked separately.

Changes

  1. UI framing protection. ui/server/middleware/security-headers.ts now sends Content-Security-Policy: frame-ancestors 'none' and X-Frame-Options: DENY. Nothing in the app frames the UI. A new unit test (ui/tests/unit/security-headers.test.ts) asserts all four headers, and the help e2e spec checks the two framing headers on a real served asset.
  2. SECURITY.md. Reports now go only through GitHub private vulnerability reporting ("Report a vulnerability" on the Security tab). The "not yet verified" caveat, the public-issue fallback and the link to the deleted release audit are gone.
  3. Private working notes. Deleted docs/run-plan.md, docs/run-{1,2,4}-acceptance.md, docs/target-architecture.md, docs/onboarding-release-audit.md and docs/dependency-review.md, and fixed the docs index. Lightly edited store-foundation.md, implementation.md, role-qualification.md, configuration.md, provider-api-key-proxy.md and issue-conversations-reference.md. These edits remove dated qualification history, issue-number archaeology, the personal repo (now example/repo) and ~/ops/forge-watchdog shown as the default. The behaviour descriptions stay. claude-failure-diagnostics.md needed no change.
  4. Identifiers in tests and fixtures. Changed the operator login to octo-operator, github:1609016 to github:1000, App IDs to 123456 / 234567 (and the neighbouring "wrong ID" to 123457), and the Tailscale IP to 100.64.0.7. Per the owner, XRPL-Commons repo names (academy, hackathon, …) and *.xrpl-commons.org domains are not confidential and are kept.
  5. Hygiene.
    • Added CODE_OF_CONDUCT.md (Contributor Covenant 2.1). Enforcement reports go through private reporting on the Security tab.
    • Added .github/ISSUE_TEMPLATE/bug.yml, which warns against pasting secrets or token-bearing logs, and feature.yml.
    • Added .github/CODEOWNERS with * @lucbocahut, because no forge-maintainers team exists in the org.
    • Added .DS_Store, *.egg-info/, build/ and dist/ to .gitignore.
    • LICENSE copyright line is now Copyright (c) 2026 Luc Bocahut. This is temporary: the owner may still change the license, and it is one line to amend.

Not done, on purpose

  • .github/workflows/prepared-release.yml is kept. Keep the retired publisher registered for disabling historical runs #332 deliberately restored it. docs/prepared-releases.md says "Do not delete the inert workflow file after disabling it": GitHub was seen accepting historical reruns after the file was deleted, and it cannot enable or disable a deleted workflow record. The workflow is currently disabled_manually.
  • No github.repository == 'XRPL-Commons/forge' guard on prepared-ui-release.yml. The owner will keep developing in a copy on a personal account, and the guard would block releases there. The hardcoded repo URLs are tracked in Make the canonical source repository configurable for forks #339.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GvCDky7pWJx1VVhmNxftM4

lucbocahut and others added 5 commits November 13, 2026 13:06
Send Content-Security-Policy: frame-ancestors 'none' and
X-Frame-Options: DENY on every Nitro-rendered response. In Tailscale
Serve mode, Serve attaches the operator identity to requests from a
hidden cross-site iframe too, so framing enabled clickjacking.

Part of #334.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GvCDky7pWJx1VVhmNxftM4
SECURITY.md now sends reports to GitHub private vulnerability reporting
only. Remove the private run plans, acceptance records, architecture
target, onboarding release audit and dependency review, and trim dated
qualification history, issue archaeology and personal repositories
from the remaining reference docs.

Part of #334.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GvCDky7pWJx1VVhmNxftM4
Use placeholders for the operator login (octo-operator), GitHub user ID
(github:1000), App IDs (123456, 234567) and Tailscale address
(100.64.0.7) in tests, fixtures and one code comment.

Part of #334.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GvCDky7pWJx1VVhmNxftM4
Add the Contributor Covenant 2.1 with enforcement through private
reporting, bug and feature issue templates (the bug template warns
against pasting secrets or token-bearing logs), a CODEOWNERS file, and
ignore rules for OS and Python build artifacts. Name the copyright
holder in LICENSE.

Part of #334.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GvCDky7pWJx1VVhmNxftM4
The help-asset route sets a sandboxing Content-Security-Policy after the
security-headers middleware, replacing its frame-ancestors rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GvCDky7pWJx1VVhmNxftM4
@lucbocahut
lucbocahut merged commit c3978bd into main Nov 13, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant